<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			body{
				padding: 0;
				margin: 0;
			}
			.box{
				position: relative;
				width: 200px;
				height: 200px;
				background: forestgreen;
			}
			.con{
				position: absolute;
				left: 0;
				top: 0;
				width: 50px;
				height: 50px;
				background: red;
			}
		</style>
	</head>
	<body>
		<div class="box"></div>
		<div class="con "></div>
			
			
			
	</body>
	<script src="src/minified/TweenMax.min.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		var t = new TimelineMax()
		t.staggerTo('.con',1,{
			cycle:{
				bezier:function(){
					return [
						{x:0,y:0},
						{x:200,y:200},
						{x:400,y:0}
					]
				}
			}
		})
		
	</script>
</html>
